﻿using System;
namespace FrankJie.Model
{
	/// <summary>
	/// 分类实体类
	/// </summary>
	[Serializable]
	public partial class CategoryInfo
	{
		private int _id;
        private int _objectType;
		private string _categoryname="";
		private string _description="";
		private int _havecount=0;
		private int _parentid=0;

        private int _objectId = 0;
		/// <summary>
		/// 分类ID
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
        /// <summary>
		/// 类别 1文章 2友情链接 3标签
		/// </summary>
		public int ObjectType
		{
            set { _objectType = value; }
            get { return _objectType; }
		}
		/// <summary>
		/// 分类名称
		/// </summary>
		public string CategoryName
		{
			set{ _categoryname=value;}
			get{return _categoryname;}
		}
		/// <summary>
		/// 分类描述
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 所拥有的数量
		/// </summary>
		public int HaveCount
		{
			set{ _havecount=value;}
			get{return _havecount;}
		}
		/// <summary>
		/// 父级ID
		/// </summary>
		public int ParentId
		{
			set{ _parentid=value;}
			get{return _parentid;}
		}


        //other
        public int ObjectId
        {
            set { _objectId = value; }
            get { return _objectId; }
        }

	}
}

